From 234d879ddd4eedf26d52f519a51a215619245e10 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 31 Mar 2016 13:25:30 +0200 Subject: [PATCH] tools/libxc: Fix build error when using xc_version_len Tools fails to build with gcc 4.5, it does not provide ssize_t. Fixes d275ec9 ("libxc/libxl/python/xenstat/ocaml: Use new XEN_VERSION hypercall") Signed-off-by: Olaf Hering Reported-by: Olaf Hering Reported-by: Changlong Xie Cc: Ian Jackson Cc: Wei Liu Acked-by: Ian Jackson --- tools/libxc/include/xenctrl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libxc/include/xenctrl.h b/tools/libxc/include/xenctrl.h index 5c519c3b9a..13d57548b6 100644 --- a/tools/libxc/include/xenctrl.h +++ b/tools/libxc/include/xenctrl.h @@ -27,6 +27,7 @@ #define __XEN_TOOLS__ 1 #endif +#include #include #include #include -- 2.30.2